﻿// /*
//  * @Author: wanyiming
//  * @Date:2024-05-25-21:03
//  * @Description:
//  */

using Code.Core.CoreBaseClass;
using QFramework;

namespace Code.GameLogic.BaseClass
{
    public abstract class AbsGameLogicComponent<Controller>:BaseComponent
    {

        protected Controller ThisController;
        public override IArchitecture GetArchitecture()
        {
            return MainApp.Interface;
        }

        public void BindComponent(Controller controller)
        {
            ThisController = controller;
            InitComponent();
        }
        
        public abstract void InitComponent();




    }
}